package com.teradata.cxf.server.listmap;

import com.teradata.cxf.entities.DataResult;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.websocket.server.PathParam;
import java.util.List;
import java.util.Map;

/**
 * @author lyndon
 * @date 2018/7/30T16:43
 */
@WebService(targetNamespace="http://entities.cxf.teradata.com") // 命名空间,一般是接口的包名倒序
@SOAPBinding(style = SOAPBinding.Style.RPC)
@SuppressWarnings("deprecation")
public interface ListMapService {

    @WebMethod(operationName = "getListMap1")
    public List<Map> getListMap1();

    @WebMethod(operationName = "getListMap")
    public List<Map> getListMap();

    @WebMethod(operationName = "getMap")
    public DataResult getMap();

    @WebMethod(operationName = "getName")
    public String getName(@PathParam("param") String param);

}